﻿Public Class MümessilFirma

   
    Private Sub MumessilFirmalarBindingNavigatorSaveItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MumessilFirmalarBindingNavigatorSaveItem.Click
        Me.Validate()
        Me.MumessilFirmalarBindingSource.EndEdit()
        Me.TableAdapterManager.UpdateAll(Me.MumessilFirmaDataSet)

    End Sub

    Private Sub MümessilFirma_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
        'TODO: This line of code loads data into the 'SatıcıFirmaLookUpDataSet.Firmalar' table. You can move, or remove it, as needed.
        Me.FirmalarTableAdapter.FillSatıcı(Me.SatıcıFirmaLookUpDataSet.Firmalar)
        'TODO: This line of code loads data into the 'MumessilFirmaDataSet.MumessilFirmalar' table. You can move, or remove it, as needed.
        Me.MumessilFirmalarTableAdapter.Fill(Me.MumessilFirmaDataSet.MumessilFirmalar)

    End Sub

    Private Sub FillByToolStripButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles FillByToolStripButton.Click
        Try
            Me.MumessilFirmalarTableAdapter.FillBy(Me.MumessilFirmaDataSet.MumessilFirmalar, New System.Nullable(Of Integer)(CType(FirmaIDToolStripTextBox.Text, Integer)))
        Catch ex As System.Exception
            System.Windows.Forms.MessageBox.Show(ex.Message)
        End Try

    End Sub
End Class